<!DOCTYPE html>
<html lang="en" ng-app>
<head>
    <meta charset="UTF-8">
    <script src="../jsLib/angular-1.3.0.js"></script>
    <title></title>
</head>
<body>
<div ng-controller="SwitchCtrl">
    <div ng-switch="condition">
        <div ng-switch-when="A">A</div>
        <div ng-switch-when="B">B</div>
        <div ng-switch-default>default</div>
    </div>
    <button ng-click="a()">A</button>
    <button ng-click="b()">B</button>
    <button ng-click="c()">C</button>
</div>
<script>
    function SwitchCtrl($scope) {
        $scope.condition = "";

        $scope.a = function() {
            $scope.condition = "A";
        };

        $scope.b = function() {
            $scope.condition = "B";
        };

        $scope.c = function() {
            $scope.condition = "C";
        };
    }
</script>
</body>
</html>